package jee.boot.entity.auth;

import com.google.common.collect.Lists;
import jee.boot.common.annotation.Column;
import jee.boot.common.annotation.Table;
import jee.boot.common.annotation.Transient;
import jee.boot.entity.system.BasicSbj;

import java.util.List;

/**
 * 用户组
 */
@Table(name = "at_group")
public class Group extends BasicSbj<Group> {

    private static final long serialVersionUID = 1L;
    /**
     * 用户组状态
     */
    @Column(name = "st_group_status")
    private String groupStatus;//字典：DIC_AUTH_GroupStatus


    @Transient
    private List<Role> roleList= Lists.newArrayList();;

    public String getGroupStatus() {
        return groupStatus;
    }

    public void setGroupStatus(String groupStatus) {
        this.groupStatus = groupStatus;
    }

    public List<Role> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Role> roleList) {
        this.roleList = roleList;
    }
}
